/**
 * Created by tsy on 2016/9/9.
 */

$(document).ready(function(){
    var path=window.location.pathname;
    var index=path.lastIndexOf("/");
    var pathname=path.substring(index+1,path.length);
    var url="../../Admin/Role/button_authority";
    var data={"pathname":pathname};
    $.ajax({
        type: "post",
        async: true,
        data: data,
        url: url,
        success: function(d){
            $("#tb_button").html(d);
        },
        error: function(e){
            alert("权限按钮网络出错！");
        }
    });
});
